#ifndef HEROPLANE_H
#define HEROPLANE_H
#include<QPixmap>
#include"config.h"

class HeroPlane
{
public:
      HeroPlane();
      //发射子弹
      void shoot();
      //设置飞机位置
      void setPosition(int x, int y);
  public:
      //飞机资源 对象
      QPixmap m_Plane;
      //飞机坐标
      int m_X;
      int m_Y;
      //飞机的矩形边框
      QRect m_Rect;
};

#endif // HEROPLANE_H
